<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

	<p:dialog widgetVar="themeMenu"
		header="更新皮肤" showEffect="clip"
		hideEffect="puff" styleClass="portal-popup-window"
		modal="false" width="185" 
		resizable="false" draggable="true">
		<h:form>  
			<div style="margin-left:12px;margin-top:12px;">
				<p:menu>
        			<p:menuitem value="雅集" ajax="false" disabled="#{preferencesManager.theme=='aristo'}" onclick="themeMenu.hide();"><f:setPropertyActionListener value="aristo" target="#{preferencesManager.theme}" /></p:menuitem>
        			<p:menuitem value="茄子" ajax="false" disabled="#{preferencesManager.theme=='eggplant'}" onclick="themeMenu.hide();"><f:setPropertyActionListener value="eggplant" target="#{preferencesManager.theme}" /></p:menuitem>
        			<p:menuitem value="和蔼" ajax="false" disabled="#{preferencesManager.theme=='humanity'}" onclick="themeMenu.hide();"><f:setPropertyActionListener value="humanity" target="#{preferencesManager.theme}" /></p:menuitem>
        			<p:menuitem value="青蛙" ajax="false" disabled="#{preferencesManager.theme=='le-frog'}" onclick="themeMenu.hide();"><f:setPropertyActionListener value="le-frog" target="#{preferencesManager.theme}" /></p:menuitem>
        			<p:menuitem value="毛玻璃" ajax="false" disabled="#{preferencesManager.theme=='glass-x'}" onclick="themeMenu.hide();"><f:setPropertyActionListener value="glass-x" target="#{preferencesManager.theme}" /></p:menuitem>
        			<p:menuitem value="雷德蒙德" ajax="false" disabled="#{preferencesManager.theme=='redmond'}" onclick="themeMenu.hide();"><f:setPropertyActionListener value="redmond" target="#{preferencesManager.theme}" /></p:menuitem>
        			<p:menuitem value="时髦" ajax="false" disabled="#{preferencesManager.theme=='swanky-purse'}" onclick="themeMenu.hide();"><f:setPropertyActionListener value="swanky-purse" target="#{preferencesManager.theme}" /></p:menuitem>
        		</p:menu>
			</div>
		</h:form>
	</p:dialog>
	
</ui:composition>